<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WindSim" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WindSim" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="ClientType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Model" />
      <xs:enumeration value="Controller" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ClientType" nillable="true" type="tns:ClientType" />
  <xs:complexType name="ModelData">
    <xs:sequence>
      <xs:element minOccurs="0" name="ControlType" type="tns:SimControlType" />
      <xs:element minOccurs="0" name="DayTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Energy" type="xs:double" />
      <xs:element minOccurs="0" name="FunctionstateModel" type="tns:FunctionState" />
      <xs:element minOccurs="0" name="Location" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PowerstateController" type="tns:PowerState" />
      <xs:element minOccurs="0" name="PowerstateModel" type="tns:PowerState" />
      <xs:element minOccurs="0" name="RPM" type="xs:double" />
      <xs:element minOccurs="0" name="WindDirection" type="xs:double" />
      <xs:element minOccurs="0" name="WindSpeed" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ModelData" nillable="true" type="tns:ModelData" />
  <xs:simpleType name="SimControlType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Manual" />
      <xs:enumeration value="Automatic1" />
      <xs:enumeration value="Automatic2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SimControlType" nillable="true" type="tns:SimControlType" />
  <xs:simpleType name="FunctionState">
    <xs:restriction base="xs:string">
      <xs:enumeration value="OK" />
      <xs:enumeration value="Error" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FunctionState" nillable="true" type="tns:FunctionState" />
  <xs:simpleType name="PowerState">
    <xs:restriction base="xs:string">
      <xs:enumeration value="On" />
      <xs:enumeration value="Off" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PowerState" nillable="true" type="tns:PowerState" />
</xs:schema>